﻿using System.ComponentModel.DataAnnotations;

namespace SP.OAWeb.WebApi.DTO
{
    /// <summary>
    /// 登录DTO
    /// </summary>
    public class LoginDTO
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [Required]
        [StringLength(10)]
        public string UserName { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        [Required]
        [StringLength(100)]
        public string Password { get; set; }
    }
}
